

#ifndef _SHELL_REQWEARKUNGFU_MESSAGE_H_
#define _SHELL_REQWEARKUNGFU_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqWearKungfuMessage : public Message
{
	public:
	ReqWearKungfuMessage();
	~ReqWearKungfuMessage();
	void reset();
	ReqWearKungfuMessage* clone();
	static const int _ID;
	//格子id
	int64 gridId;
	//佩戴的技能id
	int32 skillId;
	//佩戴格子类型。1门派。2江湖
	int8 type;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
